package jmind.asteroidea.core.parser;

import java.util.List;

/**
 * description: 直接解析值转为String
 * @author weibo.xie
 * @date:2022/7/8 下午4:02
 */
public class StringTagParser  extends AbstractSpelTagParse{

    @Override
    public String[] parse(List<Object> objects) {
        String[] result=new String[objects.size()];
        for(int i=0;i<objects.size();i++){
            Object o = objects.get(i);
            if(o!=null){
                result[i]= o.toString();
            }
        }
        return result;
    }
}
